﻿using Engine;
using Engine.Graphics;
using Game;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NK.NewNK
{
    public class 紫晶石块 : 方块模板
    {
        public const int Index = 309;

        public override void Initialize()
        {

            InHandScale = (float)0.35;
            FirstPersonScale = (float)0.4;
            FirstPersonOffset = new Vector3((float)0.5, (float)-0.5, (float)-0.5);
            base.Initialize();
            
        }
        public 紫晶石块()

            : base("Textures/mineral/Amethyst", Color.White)
        {
        }


        public override string GetDescription(int value)
        {
            return "一块紫晶石块。极为珍贵，包含多个紫晶石晶体组合成一个大块。良好的装饰目的。请小心，紫晶石块易燃，当被岩浆触碰或被闪电点燃时会燃烧。";
        }

        public override BlockDebrisParticleSystem CreateDebrisParticleSystem(SubsystemTerrain subsystemTerrain, Vector3 position, int value, float strength)
        {

            return new BlockDebrisParticleSystem(subsystemTerrain, position, 1f * strength, ((Block)this).DestructionDebrisScale, Color.White, ((Block)this).DefaultTextureSlot);
        }

        public override string GetDisplayName(SubsystemTerrain subsystemTerrain, int value)
        {
            return "紫晶石块";
        }
    }
}
